<template>
  <span>
    <!-- <div>oe_button_box</div> -->

    <div v-if="!Object.keys(node.children || {}).length"></div>
    <div v-else class="oe_button_box">
      <template v-for="item in node.children || {}" :key="item.nodename">
        <StatButton :node="item" :form-info="formInfo" />
      </template>
    </div>
  </span>
</template>

<script setup>
import StatButton from './StatButton.vue'
defineProps(['node', 'formInfo'])
</script>

<style scoped>
.oe_button_box {
  height: 80px;
}
</style>
